{"ast":null,"code":"export default function composeClasses(slots, getUtilityClass, classes) {\n  var output = {};\n  Object.keys(slots).forEach(\n  // `Objet.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.\n  // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208\n  function (slot) {\n    output[slot] = slots[slot].reduce(function (acc, key) {\n      if (key) {\n        acc.push(getUtilityClass(key));\n        if (classes && classes[key]) {\n          acc.push(classes[key]);\n        }\n      }\n      return acc;\n    }, []).join(' ');\n  });\n  return output;\n}","map":{"version":3,"names":["composeClasses","slots","getUtilityClass","classes","output","Object","keys","forEach","slot","reduce","acc","key","push","join"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/utils/esm/composeClasses/composeClasses.js"],"sourcesContent":["export default function composeClasses(slots, getUtilityClass, classes) {\n  const output = {};\n  Object.keys(slots).forEach(\n  // `Objet.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.\n  // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208\n  slot => {\n    output[slot] = slots[slot].reduce((acc, key) => {\n      if (key) {\n        acc.push(getUtilityClass(key));\n        if (classes && classes[key]) {\n          acc.push(classes[key]);\n        }\n      }\n      return acc;\n    }, []).join(' ');\n  });\n  return output;\n}"],"mappings":"AAAA,eAAe,SAASA,cAAc,CAACC,KAAK,EAAEC,eAAe,EAAEC,OAAO,EAAE;EACtE,IAAMC,MAAM,GAAG,CAAC,CAAC;EACjBC,MAAM,CAACC,IAAI,CAACL,KAAK,CAAC,CAACM,OAAO;EAC1B;EACA;EACA,UAAAC,IAAI,EAAI;IACNJ,MAAM,CAACI,IAAI,CAAC,GAAGP,KAAK,CAACO,IAAI,CAAC,CAACC,MAAM,CAAC,UAACC,GAAG,EAAEC,GAAG,EAAK;MAC9C,IAAIA,GAAG,EAAE;QACPD,GAAG,CAACE,IAAI,CAACV,eAAe,CAACS,GAAG,CAAC,CAAC;QAC9B,IAAIR,OAAO,IAAIA,OAAO,CAACQ,GAAG,CAAC,EAAE;UAC3BD,GAAG,CAACE,IAAI,CAACT,OAAO,CAACQ,GAAG,CAAC,CAAC;QACxB;MACF;MACA,OAAOD,GAAG;IACZ,CAAC,EAAE,EAAE,CAAC,CAACG,IAAI,CAAC,GAAG,CAAC;EAClB,CAAC,CAAC;EACF,OAAOT,MAAM;AACf"},"metadata":{},"sourceType":"module"}